/*
 * FileInterface.java
 *
 * Created on December 3, 2006, 8:10 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package eu.somatik.somaftp.logic;

/**
 *
 * @author francisdb
 */
public interface FileInterface extends Comparable<FileInterface>{
    
    String getName();
    
    boolean isDirectory();
    
    boolean isLink();
    
    FileSystemInterface getFileSystem();
    
    Object getFileObject();
    
    /**
     * @returns the file size in bytes
     */
    long getSize();
}
